package org.eimac.imacquizz;

import java.util.Vector;

public class ImacQuizzModel {
	private Vector<QuestionModel> arrayQuestions;	
	private int idRubric;
	
	
	public ImacQuizzModel(int idRubric){
		arrayQuestions = new Vector<QuestionModel>();		
		this.idRubric = idRubric; 
	}
	
	public void addQuestion(QuestionModel q){
		arrayQuestions.add(q);
	}
	
	public QuestionModel getQuestion(int i){		
		return arrayQuestions.get(i);
	}
	
	public int getSize(){
		return arrayQuestions.size();
	}
}
